package com.rem.spring.junit5;

import com.rem.spring.bean.Config;
import com.rem.spring.bean.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

/**
 * @author Rem
 * @date 2023-03-06
 */
@SpringJUnitConfig(classes = Config.class)
public class SpringJunit5Test {

    @Autowired
    private User user;

    @Test
    public void testUser4() {
        System.out.println(user);
    }

}
